package prop

import "time"

// RedisConfig redis配置
type RedisConfig struct {
	// Redis RedisConfigItem `mapstructure:"redis"`
	Address      string        `mapstructure:"address"`  // 连接地址
	Password     string        `mapstructure:"password"` // 密码
	Db           int           `mapstructure:"db"`       // db
	DialTimeout  time.Duration `mapstructure:"dial-timeout"`
	ReadTimeout  time.Duration `mapstructure:"read-timeout"`
	WriteTimeout time.Duration `mapstructure:"write-timeout"`
	PoolSize     int           `mapstructure:"pool-size"`
}